namespace Codeplus.Dhruvtaata.Web.Migrations {
    using System;
    using System.Data.Entity.Migrations;

    public partial class ModifySubjects_NullableParent : DbMigration {
        public override void Up() {
            AlterColumn("dbo.Subjects", "ParentSubjectId", c => c.Int(nullable: true));
            AlterColumn("dbo.Subjects", "Name", c => c.String(unicode: false, maxLength: 50));
        }

        public override void Down() {
            AlterColumn("dbo.Subjects", "ParentSubjectId", c => c.Int(nullable: false));
            AlterColumn("dbo.Subjects", "Name", c => c.String(unicode: true));
        }
    }
}
